import React,{ Component,useState } from 'react'
import {
    Button,
    Row,
    Col,
    Spin,
    Icon,
    Card,
    Tabs,
    Input,
    InputNumber,
    Collapse,
    message,
    Modal,
    Dropdown,
    Menu,
} from 'antd';
import { runInAction } from 'mobx'

import FormBasePropertyConfig,{ IHLFormUtils } from '../property.config/formBasePropertyConfig';
import { PropertyFormElementFormFieldsRule } from '../../models/form/propertyFormElement';
import FormProerty from '../../containers/components.property/formProperty';
import { INPUT_ADDON_AFTER_BUTTON } from '../../constants/code/formConfigCode';
import { SELECTOPTIONSVALUE,FORM_PROPS } from '../../constants/consts';
import get from 'lodash/get'
import set from 'lodash/set'
import has from 'lodash/has'
import { fullProvider,lazyInject,inject } from 'legions-control-container';
import { LegionsProForm } from 'legions-pro-design';
const { Panel } = Collapse;
interface IProps { }

@fullProvider(FormPropertySwitchConfig)
export default class FormPropertySwitchConfig {
    @lazyInject(FormBasePropertyConfig)
    public formBasePropertyConfig!: FormBasePropertyConfig
    createSwitchElementConfig(formUtils: InstanceType<typeof LegionsProForm.ProFormUtils>,options: { instance: FormProerty; }) {
        return [
        ]
    }
}